package com.hlk.controller.article;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Api(value = "静态化文章业务的controller", tags = {"静态化文章业务的controller"})
@RequestMapping("article/html")
public interface ArticleHTMLControllerApi {

    @GetMapping("download")
    @ApiOperation(value = "下载html")
    Integer download(String articleId, String articleMongoId) throws Exception;

    @GetMapping("delete")
    @ApiOperation(value = "删除html")
    Integer delete(String articleId) throws Exception;
}
